﻿#ifndef RESULTVIEWER_H
#define RESULTVIEWER_H

#include <QWidget>
#include <QListWidget>
#include "GraphicsView.h"

class ResultViewer : public QWidget
{
    Q_OBJECT
public:
    explicit ResultViewer(QWidget *parent = nullptr);

signals:

private:
    void setupUi();
    void displayZoomedRegion(QListWidgetItem *item);
public:
    GraphicsView* mView;
    QListWidget* lstwgt;
    void addItem(const QImage &img, QRectF rect);
};

#endif // RESULTVIEWER_H
